Skip to content

[Recipe][ROCm] MiniMax-M3.1-Flash MI355X AgentX: nightly image and the opt-in optimizations - #66188

Merged
AndreasKaratzas merged 5 commits into
vllm-project:mainfrom
Fangzhou-Ai:rocm-m31-recipe-nightly-stack
Nov 7, 2026
Merged

AndreasKaratzas merged 5 commits into
vllm-project:mainfrom
Fangzhou-Ai:rocm-m31-recipe-nightly-stack

Conversation

@Fangzhou-Ai

@Fangzhou-Ai Fangzhou-Ai commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator

Overview

Update the MiniMax-M3.1-Flash MI355X AgentX preset (mi355x_agentx) to the lane that passed InferenceX CI on the latest ROCm nightly, SemiAnalysisAI/InferenceX#4866 (open; it replaces #4671, which the preset cites today). Recipe YAML only.

Not a duplicate: no open PR changes this preset. #65400 and #63547 also edit this file, but I found no hunk touching this preset.

Claims

Validation

Validated with the recipes repository's own checks (the Recipes PR check runs the first one):

node scripts/validate-source.mjs --source vllm --dir <vllm>/recipes   # valid against the renderer

and by rendering all seven points with the renderer's renderCommand (the function that builds the site's commands) for the old and new file. The delta per point is exactly what InferenceX #4866 changed and nothing else: new image at every point; +VLLM_ROCM_PARALLEL_INDEX_TOPK, +VLLM_USE_RUST_FRONTEND, +VLLM_ROCM_USE_SKINNY_GEMM at every point; at concurrency 16 and 32 additionally +VLLM_USE_BREAKABLE_CUDAGRAPH, +--compilation-config and - the three DBO flags; at 64 - the DBO flags. Concurrency 1-8 render unchanged otherwise.

Concurrency p50 / p90 interactivity (tokens/s/user) total tokens/s per GPU previous revision
1 604.4 / 590.1 7,617 551.0 / 515.7, 6,766
2 608.4 / 446.2 7,588 548.9 / 410.4, 6,918
4 610.2 / 428.3 9,698 546.3 / 395.6, 9,494
8 450.2 / 292.2 16,104 407.4 / 240.0, 15,411
16 313.5 / 204.6 28,686 228.6 / 168.3, 27,275
32 220.9 / 133.7 58,024 172.3 / 115.1, 54,158
64 95.1 / 59.7 90,495 71.4 / 47.3, 75,434

All numbers are single runs; no end-to-end run of this recipe's commands was done outside InferenceX.

Details

  • Why the validator alone is not enough. My first version passed validation but rendered concurrency 16 and 32 without --compilation-config: a preset's json_args can only edit a flag, and --compilation-config belongs to the mono_decode feature, so it was silently dropped where mono is not selected. It is now a plain argument.
  • Concurrency 16 first attempt was an outlier (ITL p50 5.64 ms, slower than concurrency 32, GPU power 9% down, on one node); the rerun on another node gave the figures above (ITL p50 3.19 ms). The cause was not isolated, so treat 16 as one good run. This is stated in the runbook.
  • DBO and the graphs changed together. DBO was on at 16-64 before; the gain at those points is the combined effect, not DBO alone. Also stated in the runbook.
  • INT4 quick all-reduce is not enabled. The AITER in this image has no QuickAllReduceInt4.compile, which the nightly's FlyDSL INT4 path calls, so workers fail at startup with it (this is what failed the first InferenceX CI run).
  • VLLM_ROCM_MINIMAX_M3_MONO is kept. [ROCm][MiniMax-M3] Select the whole-layer mono decode with --monokernel and remove mono/envs.py #66184 would replace it with --monokernel, but it is not merged and the pinned image still reads the env var.
  • Source pin. source.revision is the InferenceX head ce4079c48; if [Misc] remove old comments #4866 changes before it merges, the revision, table and notes need a refresh. Concurrency 64 uses the host KV tier and was not rerun (the previous revision's first attempt hung at the first host-tier load).

Pull Request Checklist
  • I used vLLM's /pr-checklist skill. (Mandatory for agents, optional for humans).

  • AI assistance was used during the creation of this PR.

  • Design Fit: Minimizes impact on core components, reuses existing functionality, and justifies added complexity.

  • Testing and Validation: Validates the change and ensures any added tests are meaningful and reliable, with CI coverage or documented CI resource constraints and validation performed outside CI.

  • Code Quality and Style: Keeps code and comments clear and concise, and updates relevant documentation and examples.

  • Pull Request Contents: Includes a brief summary and relevant links, supports claims with evidence, explains root causes and implementation trade-offs, and follows the contributing guide.

AI assistance: this change was prepared with Claude Code (Claude Sonnet 5.5); the InferenceX runs it cites are from CI.

🤖 Generated with Claude Code

…e opt-in optimizations

Update the mi355x_agentx preset to the InferenceX lane that passed on the latest
nightly (SemiAnalysisAI/InferenceX#4866): pin vllm-openai-rocm nightly-4fab5a07,
enable parallel index top-k and the Rust frontend, turn the skinny GEMM off, and
run concurrency 16 and 32 on breakable CUDA graphs. Dual-batch overlap is removed
from the 16-64 points. Refresh the runbook table and notes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Fangzhou Ai <fangzhou.ai@amd.com>
@Fangzhou-Ai
Fangzhou-Ai requested a review from esmeetu as a code owner November 6, 2026 22:29

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@mergify

mergify Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

@mergify mergify Bot added recipe minimax rocm Related to AMD ROCm labels Nov 6, 2026
@github-project-automation github-project-automation Bot moved this to Todo in AMD Nov 6, 2026
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Fangzhou Ai <fangzhou.ai@amd.com>
@Fangzhou-Ai Fangzhou-Ai added the ready ONLY add when PR is ready to merge/full CI is needed label Nov 6, 2026
@Fangzhou-Ai

Copy link
Copy Markdown
Collaborator Author

/ci run

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

✅ Triggered Buildkite CI #100680 for commit 2b4c6562730a.

Signed-off-by: Fangzhou Ai <31551580+Fangzhou-Ai@users.noreply.github.com>
@Fangzhou-Ai

Copy link
Copy Markdown
Collaborator Author

/ci run

github-actions Bot added a commit to vllm-project/recipes that referenced this pull request Nov 6, 2026
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown

✅ Triggered Buildkite CI #100689 for commit f3637b21cfc1.

ℹ️ This PR is 7 commits behind upstream main. Merged upstream main into this branch as f3637b21cfc1 before starting CI. Pull the branch before pushing more changes.

@AndreasKaratzas
AndreasKaratzas merged commit 80e0cd6 into vllm-project:main Nov 7, 2026
13 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in AMD Nov 7, 2026
vllm-recipes-publisher Bot pushed a commit to vllm-project/recipes that referenced this pull request Nov 7, 2026
vllm-project/vllm@main:recipes e740badc2e3d → 80e0cd68f812 [latest.vllm]
vllm-project/vllm@e740bad...80e0cd6

Commits:
- vllm-project/vllm@80e0cd68f812 [Recipe][ROCm] MiniMax-M3.1-Flash MI355X AgentX: nightly image and the opt-in optimizations (vllm-project/vllm#66188)

Recipes:
- MiniMaxAI/MiniMax-M3.1-Flash (modified): https://recipes.vllm.ai/MiniMaxAI/MiniMax-M3.1-Flash

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions Bot added a commit to tapis-project/vllm-recipes that referenced this pull request Nov 7, 2026
vllm-project/vllm@main:recipes aa4022dc8176 → 7a07e2342e7e [latest.vllm]
vllm-project/vllm@aa4022d...7a07e23

Commits:
- vllm-project/vllm@d90f5573a3bc [Doc][Recipe] MiMo-V2.5-Pro: split fused --max-model-len base arg (vllm-project/vllm#64588)
- vllm-project/vllm@80e0cd68f812 [Recipe][ROCm] MiniMax-M3.1-Flash MI355X AgentX: nightly image and the opt-in optimizations (vllm-project/vllm#66188)

Recipes:
- MiniMaxAI/MiniMax-M3.1-Flash (modified): https://recipes.vllm.ai/MiniMaxAI/MiniMax-M3.1-Flash
- XiaomiMiMo/MiMo-V2.5-Pro (modified): https://recipes.vllm.ai/XiaomiMiMo/MiMo-V2.5-Pro

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
yeshihai pushed a commit to yeshihai/vllm that referenced this pull request Nov 8, 2026
…e opt-in optimizations (vllm-project#66188)

Signed-off-by: Fangzhou Ai <fangzhou.ai@amd.com>
Signed-off-by: Fangzhou Ai <31551580+Fangzhou-Ai@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: vllm-agent <claw@inferact.ai>

This branch was previously deployed

1 inactive deployment
recipes-preview — f3637b21 Deployed Nov 7, 2026 by AndreasKaratzas via dispatch #393
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minimax ready ONLY add when PR is ready to merge/full CI is needed recipe rocm Related to AMD ROCm

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants